/**
 * 测试基于动态数组实现的队列
 *
 * @author Kevin
 * @date 2018-11-20
 */
public class ArrayQueueTest {

    public static void main(String[] args) {
        ArrayQueue<Integer> queue = new ArrayQueue<>();

        for (int i = 0; i < 5; i++) {
            queue.enqueue(i);
            System.out.println(queue);
        }

        queue.dequeue();
        System.out.println(queue);
    }

}
